package com.example.mydemo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;
import lombok.experimental.Accessors;

import java.util.Date;

@TableName("dep")
@Data // 若未使用lombok插件，请自行生成getter、setter以及toString方法
@Accessors(chain = true) // 开启链
public class Dep {
    @TableId(value = "depid", type = IdType.AUTO)
    private Long depid;
    private String depname;
    private Long isDelete;

    private Date createTime;

    private Date updateTime;

    private String createBy;

    private String updateBy;
}
